package com.kch.system.mapper;

import com.kch.system.domain.Train;
import com.kch.system.vo.TrainVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TrainMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Train record);

    int insertSelective(Train record);

    Train selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Train record);

    int updateByPrimaryKeyWithBLOBs(Train record);

    int updateByPrimaryKey(Train record);

    List<TrainVO> selectMeetingPage(Train train);

    int updateStatus(@Param("id")Integer id, @Param("status")String status);

    List<Train> selectByCode(@Param("code") String code);

    int updateEntryMember(Train train);

    int updatePassMember(Train train);
}